package com.scu.phototabuser.data.source;

import com.scu.phototabuser.data.Task;
import com.scu.phototabuser.data.Taskable;

/**
 * Created by tianfei on 2017/4/9.
 */

public class TaskRepository {



    private TaskRepository() {}


    public static Task newTask(Tasks t, Taskable T_able){

        switch (t){
            case LOGIN_TASK:
                return new Task("login task","Task for login",T_able);

        }


        return null;
    }


    public enum Tasks{

        LOGIN_TASK,
    }
}

